package com.bulletelc.apollopre.module.chat;

import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import android.widget.TextView;

import com.bulletelc.apollopre.R;
import com.bulletelc.apollopre.framework.BaseActivity;




import java.net.URI;


/**
 * author: lhl
 * time  : 2017/10/23
 * desc  : 聊天室界面
 */

public class ChatActivity extends BaseActivity implements View.OnClickListener{

    private EditText etMessage;
    private Button btnSendMsg;
    private TextView tvRegMsg;


    private static final String PATH = "http://ratchet.local.com:8090/src/Chat.php";
    private URI uri;

    @Override
    public int getLayoutRes() {
        return R.layout.activity_chat;
    }

    @Override
    public void assignViews() {
        etMessage = findView(R.id.etMessage);
        btnSendMsg = findView(R.id.btnSendMsg);
        tvRegMsg = findView(R.id.tvRegMsg);
    }

    @Override
    public void setListener() {
        btnSendMsg.setOnClickListener(this);
    }

    @Override
    public void initData(Bundle savedInstanceState) {

    }

    @Override
    public void onClick(View v) {
        switch (v.getId()) {
            case R.id.btnSendMsg:
                    break;
        }
    }
}
